/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Message;

/**
 *
 * @author mmcfadye
 */
public class Message {
    String type;
    Object object;
    public Message(String type, Object object)
    {
        this.type = type;
        this.object = object;
    }

    public String getType()
    {
        return type;
    }

    public Object getMessage()
    {
        return object;
    }
}
